
import { get, post, formData } from "@/api/services/formReq";

// 获取RPA的下拉
export const rpaSelectLists = params => post("/v1/rpa/selectRpaId", params);

//首页RPA的下拉
export const rpaSelectListsPot = params => post("/v1/rpa/selectRpaIdWithDpia", params);


// DPIA模版下拉
export const dpiaSelectLists = params => post("/v1/dpia/models/templateDropDown", params);

// 创建RPA的ID
export const rpaIdCreateIds = params => post("/v1/rpa/createRpaId", params);

// RPA详情
export const rpaDetail = params => post("/v1/rpa/detail", params);
// RPA详情删除
export const rpaDelDetail = params => post("/v1/rpa/detail/delete", params);

// 通过问卷ID查RPA的ID
export const quesionFindRpaId = params => post("/v1/dpia/questionnaire/queryRpa", params);
//rpa 筛选
export const rpaSelect = params => post("/v1/rpa/group", params);
//rpa 筛选
export const rpaDiDetail = params => post("/v1/datalibrary/detail", params);
//rpa列表
export const rpaPermissionList = params => post("/v1/rpa/permission/list", params);
//rpa添加
export const rpaPermissionCreate = params => post("/v1/rpa/permission/create", params);

//rpa删除
export const rpaPermissionDelete = params => post("/v1/rpa/permission/delete", params);

// rpa文件删除
export const rpaFileDelete = params => post("/v1/rpa/upload/delete", params)
